global:
  resolve_timeout: 5m
  smtp_from: '{{ alertmanager_smtp_from }}'
  smtp_smarthost: '{{ alertmanager_smtp_host }}'
  smtp_auth_username: '{{ alertmanager_smtp_username }}'
  smtp_auth_password: '{{ alertmanager_smtp_password }}'
  smtp_require_tls: false
  smtp_hello: '163.com'


route:
  group_by: ['alertname', 'cluster']
  group_wait: 30s
  group_interval: 5m
  repeat_interval: 3h
  # continue: true
  receiver: 'default-pager'


receivers:
  - name: 'default-pager'
    pagerduty_configs:
    - service_key: <team-X-key>
  - name: 'email'
    email_configs:
    - to: '{{ alertmanager_smtp_username }}'
      send_resolved: true
